home *** CD-ROM | disk | FTP | other *** search
/ Aminet 19 / Aminet 19 (1997)(GTI - Schatztruhe)[!][Jun 1997].iso / Aminet / comm / net / localdev.lha / localdev / localdev.readme < prev   
Text File  |  1997-04-01  |  1KB  |  41 lines

  1. Short:    Allows unlimited local ip addresses
  2. Uploader: t-jeroem@microsoft.com (Jeroen Massar)
  3. Author:   t-jeroem@microsoft.com (Jeroen Massar)
  4. Type:     comm/net
  5.  
  6. This sana-2 device allows you to configure amitcp to use an unlimited number
  7. of ip addresses on your local machine. This is great for testing without connecting
  8. to any actual network.
  9.  
  10. The local.device prefs file (ENV:Sana2/local?.prefs) contains one config line
  11. (aside from the comments). The format of the line (in ReadArgs() style) is:
  12.  
  13.  C=CurrentAddress/A,D=DefaultAddress/A,MTU/N/A,BPS/N/A,HWType/N/A
  14.  
  15.  where:
  16.     CurrentAddress        Our current "hardware" address 128 bits long.
  17.     DefaultAddress        Our default "hardware" address 128 bits long.
  18.     MTU             Maximum Transmission Unit.
  19.     BPS            Bits Per Second.
  20.     HWType            Hardware type number (see include:devices/sana2.h).
  21.                 eg S2WireType_Ethernet = 1 and S2WireType_PPP = 254
  22.  
  23. a line starting with # is ignored.
  24.  
  25. eg IP=10.0.0.2 MTU=4096 BPS=512k/s HWType=Ethernet (1)
  26. becomes C="10.0.0.2" D="10.0.0.2" MTU=1500 BPS=524288 HWType=1
  27.  
  28. put the following line in amitcp:db/interfaces
  29. local0 DEV=DEVS:Networks/local.device UNIT=0
  30.  
  31. use the following line to config the thing into amitcp:
  32. ifconfig local0 10.0.0.2 netmask 255.0.0.0
  33.  
  34. Now startup amitcp and yeah you've got a local ip address!
  35. Which can be monitored with Sniffer and other programs.
  36.  
  37. Things on the `ToDo list' : - Packet tracking.
  38.                             - other requests.
  39.  
  40. Have fun with your local network!
  41.